package com.czc.cca.ddl;

import org.zoomdev.zoom.dao.ddl.*;
import org.zoomdev.zoom.dao.driver.mysql.MysqlDriver;

@_DDL_Table(name = "r_com", simpleName = "", engine = MysqlDriver.InnoDB, comment = "白名单公司名称")
public class _DDL_RCom {

    @_DDL_Primary()
    @_DDL_Column(name = "id", type = SqlType.INT_UNSIGNED, nullable = false, autoIncrement = true, comment = "id")
    private Long id;

    @_DDL_Unique(name = "UNI_R_COM_NAME")
    @_DDL_Column(name = "name", type = SqlType.VARCHAR, size = 300, nullable = false, comment = "公司名称")
    private String name;

    @_DDL_Column(name = "cr_time", type = SqlType.TIMESTAMP, defaultFunction = MysqlDriver.CURRENT_TIMESTAMP, comment = "创建时间")
    private java.sql.Timestamp crTime;

}
